//
//  main.c
//  Chatper6
//
//  Created by 郭家正 on 2018/12/13.
//  Copyright © 2018 abc. All rights reserved.
//

#include <stdio.h>

//int main(int argc, const char * argv[]) {
////    int a[2][5] = {{1,2,3,4,5},{6,7,8,9,10}};
////    int a[2][5] = {1,2,3,4,5,6,7,8,9,10};
////    int a[2][5] = {{1,2},{5,6,7}};
////    int a[2][5];
////    memset(a,0,sizeof(int)*10);
////    int total = 0 ;
////    int tmp = 10000000;
////    int jilurow;
////    int jilucol;
////    for(int row = 0; row < 2; row ++) {
////        for(int col = 0; col < 5 ; col ++) {
////            printf("第%d行,第%d列，的元素是%d\n",row,col,a[row][col]);
////            total = total + a[row][col];
////            if (a[row][col] > tmp) {
////                tmp = a[row][col];
////                jilurow = row;
////                jilucol = col;
////            }
////        }
////    }
////    printf("这个数组的总和为%d\n",total);
//
////    char b[10] = {'1','2','3','4','5','6','7','8','9','10'};
////    char c[] = {"Hello world"};
////    for (int i =0 ; i < strlen(c); i++) {
////        printf("%c",c[i]);
////    }
////    printf("\n");
////
////    printf("%s\n",c);
////    c[4] = '\0';
////
////    printf("修改后：%s\n",c);
////    for (int i =0 ; i < strlen(c); i++) {
////        printf("%c",c[i]);
////    }
////    printf("\n");
//
////    char c[] = {"你好呀"};
////    printf("%s\n",c);
////    puts(c);
////        for (int i =0 ; i < strlen(c); i++) {
////            printf("%c",c[i]);
////        }
////    printf("\n");
//
////    char a[1000];
////    gets(a);
////    char b[1000];
////    gets(b);
////
////    strcat(a,b);
////    puts(a);
//
//    char a[] = {"123456787899"};
//    char b[] = {"123456787899"};
////    puts(a);
//    int ret = strcmp(a,b);
//    if (ret > 0) {
//        printf("a > b");
//    }
//    else if(ret < 0) {
//        printf("a < b");
//    }
//    else {
//        printf("a == b");
//    }
//    return 0;
//}


#include <stdio.h>

void printstar(){
    printf("***********\n");
}
void printmessage() {
    printf("  How do you do !\n");
}
void main(){
    printstar();
    printmessage();
    printstar();
//    printf("***********\n");
//    printf("  How do you do !\n");
//    printf("***********\n");
}
